removed unnecessary code
Simulating data for MLM with detection error