clear function

Clears the simplex tree