Updated phasesym.m port. Untested.