Updates to dpdf calc