change order to numpy, krypy