Added the releaseAll() for supervised algorithms