Implemented the Kalman-filter and seems to have introduced a deselect-statistic-bug again. The kalman filter is very slow when changing but the adaptation leave great sudden residues for the change detector.