Topic/plat 6723

The method getModifiedCurvatureMatrix in NonLinearLeastSquare and NonLinearLeastSquareWithPenalty was slow because it computed J^T * J (where J is the Jacobian matrix) directly calling the getEntry method of DoubleMatrix2D. We now have a dedicated method in MatrixAlgebra that works directly on double arrays.
This function does not appear to be tested.