Conform designParameters so that weights are turned in to probabilities, the null and control distributions are proper matrices etc.
Useful links