Expo: fix expo macro calculations

Scaled previously before exponential.  This ruined the max
and min calculations.  Also the expo approximation equation
was wrong.
Expo: make it a function instead of macro