n=8;
E=-1+2.0*rand(n,1); %Eigen values
R=genMatWithEV(E);
%Test matrix R's eigen values
orig_E = E
eig_R = eig(R)
