Linear Regressions evaluate function now works with arrays and returns array