Pitching airfoil study and freestream effects for wind turbine applications