Added missing NUM2INT macro.
Merge pull request #4 from arohr/master

Added missing NUM2INT macro.