small improvement in method createNetwork
Added small method for future refactoring: getOutcomePosition
small tweaks trying to make propagation work.