bug fix
Fix minor bug in creation of design matrix