vecotrized ASW plots
made tex extension independant

it prefers now .pdf if both available, otherwise use .png