ENH : add max_frames to DataMuggler

Keep only the last max_frames non-scalar data sets