Random error propagation on electron beam dynamics for a 50 MeV S-band linac. (1st February 2023)