Generalized, Location-Based Model of Connections in Ad-Hoc Networks Improving the