added new code to cachematrix.R