'functioning' bayes rake search with cos(diff) based misfit/likelihood function