Quickly create numeric matrices for machine learning algorithms that require them. It converts factor columns into onehot vectors.