Add missing run index to looped variable in resol.m