Cleaned up calcAdjancies