fixed the strain unit tests
fixed build_doc.py, the new examples, and Quaternary1or2._validate_xyz