resampler: added field join that points to the original store
js dense matrix: get diagonal