Genetic algorithm optimized triply compensated pulses in NMR spectroscopy