Fix sign bug; change ccw to cw