Working copy of cachematrix with makecachematrix and cacheSolve