in power_operator repleced len(set(pindex)) by max(pindex); pseudo info commented out and else added to projection_operator.pseudo_tr; several AttributeError changed to NotImplementedError.