generalized TrimData to take arbitrary number of input planets
bug fixes
generalized sampler for multiplanet systems