Final Changes

Changes made after unit testing to ensure path-related issues do not
occur. Other minor changes to plot1.r and plot2.r to use the base
plotting system instead of ggplot2.