update .gitignore: ignore ToDo.txt
cachematrix.R: a few minor corrections