Modifying rand for utility/time_pt

Previous implementation was converting time_pt --> double --> time_pt... thus causing errors in ctqmc algorithm
Now using directly the integer index 'n' associated with the time_pt