Changed the output from the graphics from .ps to .pdf