Some more wind calculation code.