speed improvements by only dereferencing pointers once.
debug output
ok, it's working now
removed debug output
make weights random in make_random_net.py