Added mean to plot (weighted average still WIP)