Changed clear function to also clear operator having had this clarified in class