Finish the first version of getConvergence.

The determination of disgas and vapoil is omitted and should be added
later.