Fixed figure export to make nice figures now in PDF form