compare-unfold.py: Add --contact-slope and --output options