Add a D_max argument for dynamical expansion.
Document new argument.
Don't calculate Vl or Vr when not needed.
Merge branch 'master' into multi_uni