fixed another small old bug I had introduced long ago in EstimateDimFromSpectra.m