Longitudinal bunch generation and plotting, general debugging