Documenting straighten.py