added delta quantities to ncdiag file and fixed bug in 1d interp