getSegmentOf is an internal function for
calculating which theta segment an examinee belongs to.
getSegmentOf(x, simulation_constants)getSegmentOf returns a list containing:
final_theta_est the theta segment based on final theta estimate.
true_theta the theta segment based on true theta.
visited segments the examinee visited.
an output_Shadow object.
a named list containing simulation constants.