replaces pre-checks with simple table intersection check; moved some functions from core to deltas; adds tests for delta calculations (more to come)