doc: Fix documentation pseudocode to match description.
Change pipelining link.