minor comments
Refactored code

The sampling code has been split into its various parts.
The code in the Scripts folder is deprecated.
show_minimum_bounding_ellipsoids may be broken