Added beamformer initialisation function.