Change numberOfCorrelatedDataProducts to represent the number of measurement sets in the task abd not be hardcoded to one