BMMmodel function

Creates bugs model.