Rewrote how smoothing for RBPS models is done. test_lsb might not be working
anymore.