changed number of frames for the interaction function

Changed the number of frames. Our model has 41 images, before that it
was 38