Both functions in cachematrix.R working
Added documentation