* mathfuncs.cpp: Reworked statistics algorithm to share between
imagefile and plotfile classes.
* imagefile.cpp: Fixed scaling bug when rasterizing Phantom with
nsamples > 2. Added generic mage math functions, moved from
* mathfuncs.cpp: Reworked statistics algorithm to share between
imagefile and plotfile classes.
* imagefile.cpp: Fixed scaling bug when rasterizing Phantom with
nsamples > 2. Added generic mage math functions, moved from