Update cachematrix.R

Still trying to see if can capture noninvertible Matrices with trycatch - so far no success.   Goal to error out and stop when solve returns and error rather than cryptic R messages