sel(1:100); 1 2 3 4 5 ...100
X(sel, :); 1.......2.......3.......4.......5..........100......
nn_params = [Theta1(:) ; Theta2(:)];