func generateRandomPolynomial(threshold int) *pcmn.PrimaryPolynomial {
	coeff := make([]big.Int, threshold)
	for i := 0; i < threshold; i++ {  
		coeff[i] = *RandomBigInt()
	}
	return &pcmn.PrimaryPolynomial{Coeff: coeff, Threshold: threshold}
}
Mobile Proactive Secret Sharing
Generate random polynomial
Note: this does not have a y-intercept of 0
package pvss
import (
	"math/big"
	"github.com/jinzhu/copier"
	"github.com/torusresearch/torus-common/common"
	"github.com/torusresearch/torus-common/secp256k1"
	pcmn "github.com/torusresearch/torus-node/common"
)