Supported numpy arrays as inputs for distances.

Handling e1, e2 separately. Implemented extension ob basic classes.

Organized imports
Added documentation for Distances.

Prettified documentation.

...