update Tessract.h & Tessract.mm, adding clear method to avoid memory leak