Scattering
Re-write the way the directional change in the ion trajectory is simulated. For each point in the TRIM file, calculate the matrix that rotates the incoming direction to the outgoing one and apply this rotation when simulating the trajectory.