Add contour finding and remove typos