Complete MapReduce gradient descent
New definition type of batch gradient descent

* Changes from definition to algorithm.
New k-nearest neighbors stub