This will fit inteference patterns and generate phase profiles