The effect of measurement error on clustering algorithms