prepData function

Prepares concentration data and continuous ancillary data