Refactor: avoid beta elements file
With this MR we avoid having an input file specifying the beta functions and lengths of all elements (except the collimators). The same quantities are computed at the beginning of a simulation using the newly added machine layout info.
The betas and lengths are not computed on the fly because otherwise some operations have to be repeated each time, which would slow down the calculations considerably