Merge Owen's T function and Skew Normal code from sandbox and fix whatever failures show up. Regenerate docs.