Added xgcd_euclidean_f and switch xgcd_hgcd on in xgcd wrapper.