Three dimensional stratigraphic modeling