.edited cachematrix.r file