Math equations help build optimal bird wing