Adding updated cachematrix.R