major changes in space_evenly; added get_algorithm; parametrized connect_lines;
major changes in space_evenly; added get_algorithm; parametrized connect_lines;

MartinThoma/write-math,MartinThoma/write-math,MartinThoma/write-math,MartinThoma/write-math