Changed Rse so that sum1 is the only changing variable