Optimizing Directivity Properties of DSP Controlled Loudspeaker Arrays