error propagation complete for vary_B_agg. changed method of determining sweep rate effect