Added terrain color
Fixed an out of bounds error