cachematrix.R should now work