On the Calculation of Laminar Boundary-Layer Stability