Fix crashes when source files are empty.

Fixes issue #33.
0 divided by anything is always 0, so this diff doesn't functionally change anything