Fixes for FSPS r119

Three changes to maintain compatibility with the latest SVN version of FSPS (r119). These are breaking changes for previous versions of FSPS. Is everyone okay with supporting r119 on the master branch?