Implementation of a numerical method to model bending waves in beams based on the Wave Finite Element Method