Built out X and y matrices; imputed missing values using the column means