Group categorical values

Added functionality to the convertNA function where it is now possible
to group together categorical values that are not frequent