setupX function

Set up design matrix X by reading data from big data file