updates main_kalman.c