Bayesian Optimization for Multi-dimensional Alignment: Tuning Aberration Correctors and Ptychographic Reconstructions. (August 2022)