this.impedancePhasesRad[i] = Math.toRadians(this.impedancePhasesDeg[i]);
this.impedancePhaseWeightsRad[i] = Math.toRadians(impedancePhaseWeights[i]);
this.impedances[i].polar(impedanceMagnitudes[i], impedancePhasesRad[i]);
this.realZ[i] = this.impedances[i].getReal();
this.imagZ[i] = this.impedances[i].getImag();
ErrorProp mag = new ErrorProp(impedanceMagnitudes[i], impedanceMagnitudeWeights[i]);
ErrorProp phase = new ErrorProp(impedancePhasesRad[i], this.impedancePhaseWeightsRad[i]);
ComplexErrorProp volt = new ComplexErrorProp();
volt.polar(mag, phase);
this.realZweights[i] = volt.getRealError();
this.imagZweights[i] = volt.getImagError();