Update cachematrix.R

assuming matrix is always invertible
and adding some comments