docs: more diagrams and latex maths

Signed-off-by: David Scott <dave.scott@citrix.com>