Modify width and height parameters in ggsave to make square PDFs