Calculate a fused weighted average of the inputs.
weighted average of the supplied inputs and weights