distance correlation section complete with tests