cachematrix.R was modified and commmented