Changing LinearFit to calculate condition number. Untested.
Cleaned up debugging statements. Modified LinearFit works.