cachematrix.R done, saved original, added test file
Clean up and add comments.