Update to ellipse fitting

Add thresholding to getContours() function argument