Modelling of vibrating systems using time-domain finite element method