trying to add in analytic gradients for wind field