Update GradientDescentSuite.scala

use more faster way to construct an array