added NaN test for transpose