Modifying error message content.
Making getAverageWindDirection() a static method.