Add pixel resolution to trialdata struct to us it for the gen function to create stimuli according to dva instead of pixel