pre_data function

Preparing monotone ordered disease classes