public static double[] calcMeanValues(
	double[][] inVectors )
{
	int m = Matrix.getNumOfRows(inVectors);
	int n = Matrix.getNumOfColumns(inVectors);
	double[] meanValues = Vector.newVector(m);
	for ( int i = 0; i < m; ++i )
	{
		meanValues[i] = 0.0;
		for ( int j = 0; j < n; ++j )
			meanValues[i] += inVectors[i][j];
		meanValues[i] /= n;
	}
	return (meanValues);
}