implemented a likelihood for 2 parameters giving a surface in 3-d