Pulled computation of effective frame interval, based on number of
frames to wait, out of frame loop itself. Also removed unnecessary
rounding/reshaping from white noise stimulus functions.