fix one sublime indentation bug, meanwhile reduce the complexity of getClustroid