A method for the computation of electron trajectories in arbitrary static electromagnetic fields, which eliminates a major source of error, is given. Under certain conditions the equations of motion are shown to yield analytic solutions that are expressible in terms of the matrix exponential function exp (

).