speed optimization, changed rint() to lrint() and lrintf().
fixed compiler warning: converting to ‘int32_t’ from ‘double’
Merge pull request #3 from sigblips/master

Some lrint() and lrintf() speed optimizations.