Some little fixes in the interface
Fixes the floating point exception issue
Merge pull request #7 from aluebs/alarm

Fixes the floating point exception issue