Merge pull request #68 from neobrain/tev_fixes_new Change pixel processing to use integer arithmetic.