my first changes to the cachematrix.R