updating parameters based on vmax/vmin. w/bugs see Gdoc