Comparison of McGinley’s and O’Brien’s Variational Optimization Formulation for the Computation of Vertical Velocity