S-parameter matrix sweep