Working version of the Capon procedure, 2 different methods used