gradient/hessian uses only the first stored Q matrix
gradient/hessian uses only the first stored Q matrix

beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib