vectorized creation of ce vector, added folder and save contour plot