Added approx params

Next step is to use gradient function