Fixed segfaults caused by errors in Fortran wrapper generation
Merge pull request #320 from peastman/master

Fixed segfaults caused by errors in Fortran wrapper generation