PLSrounding function

PLS inspired rounding