prep_data_internal function

Internal function to calculate step lengths, turning angles, and time steps