Fann running, pca and sparse matrices added