Fixed call to synthetic data function

And removed spurious setting of random seed