corrected interpolate calculation
corrected inflate calculation
Merge pull request #12 from johnbrandle/master

corrected interpolate calculation