silence a lot of DeprecationWarnings with numpy 1.9