Text this: Stochastic optimization of bose-einstein condensation using a genetic algorithm