... are sometimes returning -127. Try again a few times before giving up. In MATLAB, map -127 -> NaN.