Improved column and line detection

Closes #35.