removed beamVec and etaVec from function calls as they were
not needed