Add cachematrix functions and comments