Changes done

The program attempts to calculate the matrix inverse. It also uses the
value available in cache rather than recalculating again and again.