Using Inverse Square Law for balancing for NF

http://www.wolframalpha.com/input/?i=%285000%5E2+%2F+x%5E2%29%2C+between+0+to+5000

Also made it so that the closest factory is the only factory that is factored in the calculation for the scale factor.