New function Rdnadist.