cachematrix.R now complete.