calculating voltage drop in power distribution