FIX random_state validation on c_step

Got lost in e6003bc89. Also input validation on X.