Completed logic to create the necessary function->sequences data structure and added calculation of information accretion. Code still needs more optimization.