My last merge broke compilation of opm-autodiff, as this new function still relied on the old behaviour (the one taking a grid instead of the data directly). This patch moved initStateFromDeck to the new behaviour.