Development of an Aeroelastic Formulation for Deformable Airfoils Using Orthogonal Polynomials