Using Reinforcement Learning and Bayesian Optimization on Problems in Vehicle Dynamics and Random Vibration Environmental Testing