Fixed bug so that alert is displayed if input is NaN
Merge branch 'master' of https://github.com/laurabreiman/line-fitter