A local boundary condition coupled to a finite element method to compute guided modes of optical fibres under the weak guidance assumptions