 Usage:  m = knn (x, k)  
 
 Input:

  x                      n vector of the obervations 
                         
  k                      scalar range of the running mean 
                         
 Output:

  m                      n vector containing the smoothed values 
                         
--------------------------------------------------------------
(C) MD*TECH Method and Data Technologies, 17.8.2000
