Modified default behavior of matrix::sliding_window numSteps, if not given, the matrix will be full traversed