Code uploaded

Uploaded code for caching inverse of matric