Added calibrate.py for calibrating analyzers.