A Complex Variable Boundary Element-Free Method for Potential and Helmholtz Problems in Three Dimensions