Edited cachematrix.R .