generateFMM function

Simulating data from FMM models