Corrected typos

corrected typos in cachematrix.R