Debugging of findOverlap and findDistance

findDistance does not give negative distances anymore. Also works now
when sides of buildings overlap