Added more to the write-up: Flow derivations, weighting scheme, etc.