Vertical Growth of Hydraulic Fractures in Layered Formations