Defined the destructor for class Polycrystal