Gaussian WF to get a fixed (really unused) value of phase
Fixed max length problem in snprintf