Modified hw4.m to display correct plot

Had to change a method to plot the data of
my results. It now looks as would my code
do the correct thing.