adding code to analyze resulting phasors for the expected position