FIX Anisotropic hyperparam optimization of GP bounds

Fixes #2798, #2867.