Use @monarchdodra's suggestion to replace ; with {}
Revert "Use @monarchdodra's suggestion to replace ; with {}"

This reverts commit 0c706b15603c1e38a19e25903f28ae145e89874d.
Reverted some changes made to the math module