create_design function

a function to create a design for PLMM modeling