fixed bug in Z.z.set_res_phase line 567, changed array to single value as needed by propogate_error_polar2rect