Updated mean and std's calculations to prevent NAN's. Added Calib style
intervals and relative areas.
Merged David and master branches. Used cores.csc and atts.csc from David branch