Fill in the feature matrix.