pub fn random_coefficients<R: RngCore + CryptoRng>(
    rng: &mut R,
    n: usize
) -> Vec<MaybeScalar>