Fix "Attribute is NaN" log errors

If we get a mean of NaN, we should try to continue without too much
error logging, which was occurring when trying to use undefined rad/x/y