Phase recovery from a single fringe pattern through the use of a genetic algorithm