


check_order: Checks the order passed to the window functions. [N,W,TRIVALWIN] = CHECK_ORDER(N_ESTIMATE) will round N_ESTIMATE to the nearest integer if it is not already an integer. In special cases (N is [], 0, or 1), TRIVALWIN will be set to flag that W has been modified.
