Updated cache.matrix.R with two functions.
  Removed unnecessary code & comments.