edit to cacnematrix.r code
edit to cachematrix.R file