refactored run_network
Merge branch 'fann' of https://github.com/rockybulwinkle/moo-cow into fann