Optimized power transport pipes a bit

One less loop, and a bit less floating point math. Calculations give exactly the same output as before, just with integer math, which is a bit faster.