function y=fromsqu_to_con(x)
%----------------------------------
% Map from the square [0,1] 
% to the cone
%----------------------------------
y=zeros(size(x,1),3);
y(:,1)=sqrt(x(:,2)).*cos(2.*pi.*x(:,1));
y(:,2)=sqrt(x(:,2)).*sin(2.*pi.*x(:,1));
y(:,3)=sqrt(x(:,2));
end