Simplify calculation of gate masks. Use entire symbol period to compute symbol value. Correct error sign based on symbol value.