Added missing deletes to the destructor in ToricCode_1_q class