added computation of sparse boolean proximity matrix in space and time + docstring improved