PA2_Attempt#1

Cached matrix inversion functions
Merge pull request #1 from aravindr85/pa2_attempt

PA2_Attempt#1