fitlines were needlessly complicated, buggy
weights accepts any array-like
plot fits
fitlines -> fits
Merge branches 'fitting' and 'master'