Better frequencies etc

The UniqueVals routine can now deal with all sorts of scalar/singleton
data: Integers, floats or strings can all be counted and used in
Proportions and Percentages.