Bug fixes

Adding Gaff2FF and Specsort; two codes that are integral to this
program.