mode change
remove delta_p from beams (reason: dp[i] does not work and cannot be implemented easily -- rather do the converting in longitudinal kicks); require at least one generator for beams