RF: update cost2thresh2 to use slice data, update docs