autodiff raycost is working with synthetic data