updated output functions
Merge branch 'master' of github.com:anthonysutardja/mrca
updated output