clusters real-valued vectors by finding density peaks