Explain the mathematical intuition behind the loss function you optimized in this Novo Nordisk project.