Update cachematrix.R

Noting issue by way of comment. This should be for an arbitary matrix supplied by the user. Not randomly generated by the R program itself.