Add additional options for finding contours and make minor format changes. Change Scale to ConvertScale to better match C function