fixed some sizing issues, and some sorting issues and included case where observation some how no longer a match but still linked
broke out sorter and fixed loop bug, minor cleanups
annotating some common values