Adding rough Ramer Douglas algorithm