Add matlab wrapper for python ellipsoid code
remove extraneous deduplication