Fixed a bug. Commiting before a major change to Approximator..