Initial commit of contour creation and filtering functions.