DOC: fix math formatting.
DOC: improvements and corrections
DOC: many minor fixes.
DOC: add switch.py docs
DOC: document __init__s.