function n=uchoose(N,varargin)
% gives random number between 1 and N

n=floor(rand(varargin{:})*N+1);

