Switched input for output in the approximation.

Seriously last one for now!