Make it possible to run Heracles on recent scipy versions.
Make it possible to run Heracles on recent scipy versions.