fix to bypass incorrect check on mac
Merge branch '03-ISNAN' into 08-matrix