This will do modular inverse of a matrix coded in java which helps in cryptography in most occasions.