Added debug symbols.
Fixed calculation of the negative phase.