Added API for LeviCivita class and its function definitions

Stuff to be done:
* complete the levicivita function
* update is_canonical accordingly