LSFit now reduces it's degree when not enough points are available
LSFit now reduces it's degree when not enough points are available

avoids crashes on under-constrained equations
simplifies code in client

abrauchli/camshift,abrauchli/camshift