Comments added to explain the functions in cachematrix.R