Added mthods for caculating flow genrated by network to the core. Methods
counting traffic to the network from core deosnt work properly. Need fix!