Model based clustering via mode identification