Least Min Square test implemented

Put together a lms test with satisfying result. But Toney would probably
need a higher grade polynomial even though the linear version here
might be sufficient for the first, second and fourth tone. Perhaps
break up the third tone into two straight line perhaps. The line could break
up into two separate line approximations when the correlation coefficient
surpasses a certain threshold value.