Add hooks to betti_C_general in compute.sage.