Update cachematrix.R

improvement of readability