Text this: Time domain pulse shaping using a genetic algorithm