matrix representation of weather added