Update NetloadIn.py

some code cleanup