Post Go back to editing

Adding S-Parameters into Equations in Eagleware (Genesys) to create Edwards-Sinsky Stability Criterion Equation

I'm trying to create the Edwards-Sinsky Stability Criterion Equation given below:

However, in order to do so I need to extract the s-parameters first. I have managed to get the magnitude of the s-para using the equations function but I couldn't get the same to work for the angles. I used the exact same syntax that I found from an example but it didn't work. The next issue is to get the conjugate of the s-parameter s1,1.

If anyone has tried this and has any partial "engineering language" code that I can use, please let me know.  

Current state of code: