x_mag for shell works, but again I'm no sure about derivatives being correct