fixed gcc 4.1 warnings with explicit casts
adding explicit casts to clean up warnings
Removed unused typedef
Add missing python directive
Merge branch 'master' of https://github.com/jts/sga into perm-test