Updated multiply functionality
Fixed minor error in multiply routines