Initial implementation of DC and MTF with basic tests.
Merge pull request #4 from kvark/t-dc

Initial implementation of DC and MTF with basic tests