Update regression.js

Linear Regression function returns an object, not an array.
Merge pull request #9 from iamjab/master

Update regression.js