Fix for np1.9 incompatibility. Now works.
Merge branch 'master' of github.com:materialsproject/pymatgen