Automatic Tuning of a Local Search Algorithm for Estimating Biological Signals JPDs