Fixes documentation formatting
Adds more mathematical functions