Code added for cachematrix.R