Migrated (and updated for compatability) the FilterNMS