Fixed bug in error calculations
Setup test/test_net.py for zmq, still not working though