updated alignment algorithm to contain structures to keep track of bases to match in model sequence