Phased Array Feed Beamforming And Its Application In Mapping Extended Sources