Changed method of displaying legend. Now it is off to the side instead of overlaid on the plot. This allows for future expansion of legend capabilities such as changing colors. Also, I couldn't figure out how to do the overlay like I wanted...