Dynamic analysis of constrained multibody systmes using Kane's method