Merge pull request #56 from abma/master

unused vars / fix SIGFPE
fix "unused var"