Study of the Retracing Behavior of the Phase-Matching Angle in Second Harmonic Generation