Efficient and accurate numerical-projection of electromagnetic multipoles for scattering objects