Simplifying math

- Removing a lot of extra parentheses