Towards accurate beam sigma matrix determination in a transport line using differentiable simulation | Synapse