Fixed bug in randStruct

Randstruct was returning random slope based on response, instead of what parameters were present in the model. Fixed by specifying logical statement to include random slope term in the basis set