replacement of linear model and sigmoidal
fix bug on kalman filter. The wrong LED input was being given to it.
change of gate parameters.