Update function to convert Cartesian state to TLE (solver not working yet).