public static double[][] multiply(double[][] A, double[][] B){
		if(A[0].length != B.length)
			return null;
		double[][] T = new double[A.length][B[0].length];
		int t = 0;
		for(int i = 0; i < A.length; i++){
			for(int j = 0; j < B[0].length; j++){
				for(int k = 0; k<A[0].length; k++){
					t+= A[i][k]*B[k][j];
				}
				T[i][j] = t;
				t = 0;
			}
		}
		return T;
	} //end multiply method