Added a multiply function.