Initial modifications to makeCacheMatrix.
cacheSolve function is a copy of the example for vector mean.