New partial corr functions for data struct