Note that the error propagation from dedx to q/p missed the factor charge^2, which I fixed in my recent commit even though I forgot to mention this in the commit message. Can you check this again?