Added configurable proximity detection radius to config
Modified proximity detection method. The new method is slightly less accurate but is between 7 and 9 times faster to process (Tested on a building with 300 foundations, previous version was ~65ms to process and now it is ~8ms)