Update cachematrix.R

First edit on joe branch