Added truncate methods. Implements #80
Merge pull request #113 from ErikSchierboom/truncate-correct

Added truncate methods. Implements #80