trying for convergence
trying to get convergence, added a test for message passing, added dummy network for testing