A two-dimensional pencil-beam algorithm for calculation of arc electron dose distributions.