Add the Courant Snyder invariant to the saved data in the BunchMonitor and BeamMontior. Add an n_bin optional parameter for CavityResonator. Add a new example notebook for RF cavities and longitudinal beam dynamics. Fix several bugs on the Monitor module. Fix a bug in the Impedance class.