Updated cachematrix.r file with changes
New and updated version  11/21/2015 3:41 PM EST