updated direction finding function to test both binding site directions