Improved speed of discover_equation
Removed clear_cache functions.
Updated examples.