Automatic Differentiation in Tidy3d