Updated zero crossing circuit and corrected its inverted activation logic.