Added col width calculation. Fixes #9