Examples and documentation revised
Deleting hardcode functions