Making NonNegativeLeastSquares a routine and fixing mistakes in in-progress distributed k-means implementation.