Numerical investigation of collective effects in quantum optical media via integral operator electric fields