Moved math to own page.