fixed list pointer bug. also last portion of master coord matching almost complete. Restructured matching to be cleaner.