Fixed bug
Created contour class