Direct Sensitivity Analysis Of Spatial Multibody Systems With Joint Friction