Return Array[Double] from SGD instead of DoubleMatrix