Introduction to kalman filter and its applications