added some comments

mathtest.coore was not up to date. Commit includes more code as well as comments.
Solves #2