Changed the plotting routine

Now mimics my matlab script; outputs two graphs one of which is the
distribution on which the responses are based.