switched to "%.10g" format for outputs. fixes #34