cachematrix.R edited and committed on 20140427