Neural Network based Attitude Estimation