Add mathematical constants

Fixes #13.
Adds support for configurable constants that the user can't overwrite.