Boundary Element Method for a Rigid Body in Finite Depth