public static double[][] convertIntToDoubleMatrix(int[][] m) {
		int mRows = m.length;
		int mColumns = m[0].length;
		double[][] res = new double[mRows][mColumns];
		for (int i = 0; i < mRows; i++) {
			for (int j = 0; j < mColumns; j++) {
				res[i][j] = m[i][j];
			}
		}
		return res;
	}