public static double[] multiplyVectorByMatrix(double[] vector, double[][] matrix)
	{
		double[] result = new double[vector.length];
		for(int i = 0; i < 4; ++i)
		{
			double accumulator = 0.0;
			for(int j = 0; j < 4; ++j)
			{
				accumulator += vector[j] * matrix[j][i];
			}
			result[i] = accumulator;
		}
		return result;
	}