Changed pstricks and tikz to use standalone class, voids the need for pdfcrop