Update MatrixOperations.java

Given a matrix (Lets take the form of 
double[][] key = new double[][] {
{6, 24, 1},
{13, 16, 10},
{20, 17, 15}
};

Return modular inverse of the matrix, which is
8 5 10
21 8 21
21 12 8