Reversed the order of the DAT_FREQ array, so that the largest frequencies are at the start. This is to enable George's code to work properly.