initial commit of updated cachematrix