Update cachematrix.R

Specifying functions for matrix inversion, with cache saving capability.