Added (1,d-1) Toric Code Object Class