Correcting math for compression ratio in logger.
Preventing division by zero.
Merge pull request #20 from copious/feature/instrumentation

Correcting math for compression ratio in logger.