Adder and multiplier architecture