Approach mmatch with flow matrix and fixed a conditional bug at findPath function member of NetworkFlow class