make minimum search less prone to degenerate dimensionality case
correct mistake in cohcorr_test, modify and extend to get more useful data out