Added the math for multiply and divide.