SaberMod optimizations
Signed-off-by: Paul Beeler <sparksco@gmail.com>