The Application of Boundary Element Method to 3-D Solar Linear Force-Free Magnetic Fields