removed matrix.js dependency
core structure for the gradient descent