updating diff/rev/matrix functions that called the old stan::agrad namespace