cachematrix.R - minor edits