C++ S Parameter calculator given an N-Port matrix with M Impedances