Lazy evaluation of energy factors

Only recompute energy factors that could be affected by the candidate parameter changes.  Avoids recalculating expensive curve intersection tests.