Fixed fprintf statements so h is written as a floating point instead of scientific notation.