You might consider downloading Agilent's AppCad software [free license] which includes an 's'-parameter analysis tool with the functions in which you are interested.
The trick is finding a download site. I think I originally downloaded it through the RF Globalnet site but you have to sign up as a member - which is also a free service. That site also has some other interesting 'stuff' for the RF engineering fraternity.