Update cacheMatrix.R

Coursera - Assignment 2