Merge pull request #7 from aluebs/alarm

Fixes the floating point exception issue