BF: corrected tau parameter
TEST: updated test for peak_directions