findK function

Criteria to determine number of clusters k