Fix method parameters, create readme, and add linearRegression method