Added randomized design matrix method