binarize function

Turn data with numeric, categorical features into binary data.