Simple algorithms for digital pulse-shape discrimination with liquid scintillation detectors. (January 2015)