added apache math3
implemented kalman filter