Math core docs, domains, codomains..

This pull request contains a more detailed doc for Math core, which includes domains and codomains of functions, classes that the methods accept as parameters, examples for every function, and a few others.