Updated cachematrix.r

Additional comments needed