Final commit, functional according to requirements

Takes a supplied matrix, calculates its inverse, places it in cache,
and calls the inverted matrix from cache if called again.