Text this: Rectangularization of Gaussian process regression for optimization of hyperparameters