Watching out for nans in chem