DRAFT: Legendre GF accumulation

Basically an adaptation of code from cthyb_matrix. Not tested yet.
New benchmark to check Legendre measurement.
Results collection did not actually happen in measure_g_legendre.
Test for the Legendre measurement.