Numerical study of wings with wavy leading and trailing edges