DC inversion working again. Almost in the new framework..!