Fixed the inReal parameter passing
Remove trailing 0s from end of output array
Merge pull request #7 from aomega/master

This fixes the inReal parameter passing