replaced contour plotting with the lenstools one