ENH add code to estimate intrinsic dimensionality :)