Update cachematrix.R

Updated cachematrix.R with matrix inversion functions

(done by Sanjay Ramanujan)