updated cachematrix.R committed to git