Added quality formulas
Started knn section