added sign to distance term using slope
added roughing and finishing, no sim yet