fix formulae for q,qp,qpp