add in some of the NMS code for overlap
add in some of the NMS code for overlap

StevenCurran/MastersThesis,StevenCurran/MastersThesis,StevenCurran/MastersThesis,StevenCurran/MastersThesis,StevenCurran/MastersThesis,StevenCurran/MastersThesis