fix wrong malloc
more critical fixes
unbuffered stderr for progress reporting
Merge pull request #2 from fsulima/master

fix wrong malloc in colian