Added legends for the figures.