pub fn optimize_v3<T: MyFloat>( initial: &PhysicsStateV3<T>, curve: &Spline<T>, points: &mut [Point<T>], lr: Fpt, ) -> Option<Fpt>