Recursive analysis working

n_frames saving needed