Added methods to calculate gate count and retrieve quantum cost. Lots to do still.