Here&#39;s how a hurricane&#39;s category is determined