Add cachematrix.r
Revert "Add cachematrix.r"

This reverts commit fae19a68640b3d03bc0230cb7da59dd54908345d.
Revert "Revert "Add cachematrix.r""

This reverts commit f6d0d7e608771ed06cb5231584dd25d880f32508.