Changed stochasticGradientDescent to take X, labels arguments. Changed predict and accuracy to take X and y repectively.