added new function cull_bad_measurements() to remove measurements with low SNR or large distance from input position to centroid; added new input parameters to setup.yaml: min_snr and max_dist