A Modified FEM for Transverse and Lateral Vibration Analysis of Thin Beams Under a Mass Moving with a Variable Acceleration