bugfix #2140

preprocessing padding was erroneous leading to inconsistency between #samples in data.time and data.trial