The two functions in the cachematrix.R completed.