 Usage:  d = cor2dist(s, t)  
 
 Input:

  s                      l x l matrix of correlations (or association values 
                         with elements -1 <= s[i,j] <= 1) 
                         
  t                      kind of transformation: t=0: d=2-2s; t=1: d=abs(s) 
                         
 Output:

  d                      d l(l-1)/2 x 1 matrix containing the transformed values 
                         of the upper triangle of s. Afterwards 
                         the vector d can be used as the input 
                         parameter of the function AGGLOM. 
                         
--------------------------------------------------------------
(C) MD*TECH Method and Data Technologies, 17.8.2000
