static double[][] derivativeMatrix(int degree){
		double[][] matrix = new double[degree + 1][degree + 1];
		for(int i = 0; i < matrix.length; i++){
			for(int j =0; j < matrix.length; j++){
				if(i == j-1){
					matrix[i][j] = i + 1;
				}else{
					matrix[i][j] = 0;
				}
			}
		}
		return matrix;
	}