Mathematical simulation of occupant and vehicle kinematics