Added the calculation of the orthogonal distance to the diagonal linking the cells for each particles. Should help understand the bias.