Bug: positive flow is non-zero
Dev: tidy
Dev: addition of scripts for analysis