updated samplingfromdistributions with Jordan's n-body solver.  Yay for Jordan!