Fix divide by zero.

This fixes the divide by zero display problem (where -nan is displayed in saidar's output) and displays a simple '-' instead.

Fixes #34.