added function to plot

plot average shifted images