How to model sinusoids in white gaussian noise

Not sure where exactly I was going wrong but @aplavin has ironed out whatever it was. Many thanks.

And now to see if I can expand the above model to include phase, unknown noise variance and then more sinusoids.