Modelling and simulation of the fiber optic gyroscope (FOG) in measurement-while-drilling (MWD) processes