where n is a normal vector for a vertex in a molecular (Connolly's) surface meshes (i and j for vertex's index of the interactor's surface meshes going until k and l, number of vertices in first and second mesh correspondingly), and d_ij is a matrix of pairwise distance between all pairs of vertices on the interactor's surface meshes.