extract: add hacky tie-in with libpqxx to query db before every edge weight is written
extractor: modulate edge weight based on nearest rno2 reading
some custom changes