Implementing the NonmaximaSuppression function.
Still implementing the non maximum suppression function.