extend code to allow 1,2, and 3 level models
Extended code to 1, 2, and 3-level designs.  Added validation for missing arguments.
output raw simulations so that multiple runs can be combined
update comments