Fixed bugs, tests run

- updates added to theano function in network.run
- removed some extra comments