Update cachematrix.R

Revamped the CacheSolve method to calculate the inversemean and also to cache the inverse mean