Finalizing output formatting

- Substituted %g for %f in most instances
- Stripped out obsolete debug code