added unit test for MatrixUtils.isNaN() method