new exchange residue method
Merge branch 'master' of github.com:ekwan/mandor