updated tryConnect so connections in same region are distance based
updated tryConnect so connections in same region are distance based

tvachnad/Neural-Network,tvachnad/Neural-Network,tvachnad/Neural-Network