cachematrix.R edited 05/17/2014