cachematrix.R been modified for caching the matrix inverse