Fixed some bugs; added check for object overlap

TODO: Write function to calculate quality and assign it to a cluster
change to intersection function