did some indentation on the cachematrix.R