how do wind sensor works and why is this invented?