preprocessDosing function

Preprocess 'dosing' argument.