Separated functions for beta from phase calculation

For the beta from phase calculation, three functions are
introduced for the three different cases of the probed BPM location.
(Left/right or in the middle of the two other BPMs)
Extended phase advance calculation (AC)

Phase advance for 7 consecutive BPMs are now calculated in
GetFreePhase_Eq() and stored in the existing variable 'result'