Fixed compile errors in GradBased and made Featurize use RowMatrix