Fixed some stuff with analysis of homology
Added sorting of homology lists.
Made it possible to align programs by end instead of start.