Checking for nans in an entire row, not just the first element
Merge remote-tracking branch 'origin/separate-trans' into separate-trans