fixed the test indexing err for picking k in each class
adding hybrid metric