Longitudinal Beam Structure Simulations With Impedance Studies And Ferrite Characterization For The Mu2E Experiment