Update cachematrix.R

Updated 12/17/2014 by Patrick Dant