added function to test brownian bridge with 3 points