Optimal design and performance of random intercept and slope