Upgraded to Java 8
Use lambda expression to calculate average values of weather data
Formatting.