Simplify mathematical operations