Cleaned up sg_column and test

Cleaned up SGColumn.get_maximal_lines_from() and subsidiary methods