function [num] = randDouble(lo, hi)
% num = random real number in the range (lo,hi), exclusive

num= rand(1)*(hi-lo) + lo;