In the middle of debugging. Something is wrong with z between its analytical representation and its numerical approximation.