Wavelet Galerkin Methods for Elastic Multibody Systems