public static double[][] addVecToSet(
	double[][] vecSet,
	double[] addVec )
{
	int m = Matrix.getNumOfRows(vecSet);
	int n = Matrix.getNumOfColumns(vecSet);
	double[][] res = Matrix.newMatrix(m, n);
	for ( int i = 0; i < m; ++i )
	{
		double add = addVec[i];
		for ( int j = 0; j < n; ++j )
			res[i][j] = vecSet[i][j] + add;
	}
	return(res);
}