Main Graph Formulation

Explain the main cost functions for the calibration.