Edited by Daniel

The cache matrix.R has been changed as per instructions