A Fast Method For Computing Volume Potentials In The Galerkin Boundary Element Method In 3D Geometries