Corrected return type for function pointers
Merge branch 'gerald'
Removed debugging printouts
Merge pull request #2 from forthy42/master

Function pointer return value extracted