Math core documentation with examples, domains and codomains of functions

Fixed typo on domains (infinite, infinite) to (-infinite, infinite)

Removed extra letter that causes build failure