remove_singleton_columns function

Remove columns appearing in only threshold row(s) or fewer.