Implemented correct intron inference, introduced a memory leak that needs to be fixed