Add external_only flag, integrate_interval func
Add external_only flag, integrate_interval func

external_only flag forces program to only integrate the last interval.
Only integrating the last interval should save time.
Use of integrate_interval avoids some repition in internal_stability.

jensv/fluxtubestability,jensv/fluxtubestability