Pedersen key distribution. Test for generator not yet working.