NaN errors in Flux

Just to reiterate an old point of discussion: signaling NaNs would help you to discover the root of the problem…