Use a template for the matrix calculations in GSF tool: ATLASRECTS-4983
Use a templated function (based on the size of the measurement matrix) to calculate chi2 and determinant of the updated state. This should be notably faster than using the dynamic matrices.
Edited by Christos Anastopoulos