Automatic Determination of Sedimentary Units from Well Data