Implement template-model fitting
Add calculation of swing amplitude for physical and template fits