Fixed stupid syntax error
python 2.6.6 doesn't have math.abs, math.signum
Added decoder test using Totem (now default), fixed small error in original decoder test.