Extensive refactor. Now will filter alignments based on a given density value. Will also ouput general stats for each alignment to a csv file.