added annas script for calibration that I have rewritten in parallel for the purpose of reference.