Linear LMS algorithm succesfully implemented.

 Works surprisingly well for
the 1st, 2nd and 4th tone. The 3rd tone needs to somehow be broken up into
2 lines, perhaps based on a threshhold r2 value?