Statistics for Boundary Integral Method and Applications for Chaotic Optical Microcavities