added NaN test for step
added NaN test for step
added NaN doc for step