`weightedmean([1 ± 0, 1 ± 0])` returns `NaN ± 0`, but `1 ± 0` is expected. Could you give me a better solution? Thank you very much.