[LAD] A more efficient way to detect INF and/or NAN in a block of samples