added TempKalmanFilter instance as global variable