Phase and Frequency Control of Laser Arrays for Pulse Synthesis