corrected a variable reference

Make sure that the plotting was based on the passed parameter instead of
a variable in memory
4 Graphs

R Source & png file for the 4x4 graph matrix