Also changed calculateRegression(...) to return a bool, as that's all it needs.
Attach a file by drag & drop or click to upload