Added tvd interpolation & reading qc queries