A semi-analytical sensitivity analysis for multibody systems described using Level Sets