Non maxima suppression working