Add constrained fitting functions to stage
Make modular lagrange multiplier
Normalize error magnitude a bit
Fix normalization
Add note about minimization to stage