added truncator mungebit
added stopifnot to make sure x is numeric
Merge pull request #9 from robertzk/truncator

added stopifnot to truncator mungebit