Step 2: Layout with SVD
Given distance table D=(dij)
Compute A, where aij = 0.5 dij2 - 1/n ?k dkj - 1/n ?l dil+1/n2 ?kl dkl
If A is not positive semidefinite then exit
Compute A=USUT by singular value decomposition with S having the eigenvalues li in decreasing order on its diagonal
Set X = ( l1½ u1T, l2½ u2T, l3½ u3T) T where U = (u1,...,un)