Work on parameters, style, etc
Finally implemented correct method for distance
network effect added