really? I would have thought the most correct value is `nan` (unless we throw an error) because of that division, just like `std` gives nan in those cases. If the value was 1, then they would all be 1 and not add up to 1?! I simply care for the warning mean gives, if you prefer to put the mean calculation in a conditional to avoid it, that is fine with me too.