New code
Thresholding the learning data
added thrsholding to header file
changed over ramp speed and center behavior