added implementation of BaseCircuit partial where user can choose between twoport and fourport