Code completion

Added the two functions to cache matrix.R