Elliptic curves, random matrices and orbital integrals