added a histogram to view how well no atom and atom are seperated
fixed race condition within the histogram data