Update cachematrix.R

Added a more detailed header. Please see commit e103dcd332dca74d82aa4b30a6fdf720b62bf5c3 to look for the original implementation.