Simplex Method in Python 3 with numpy