Multiple important changes to approx.f95

Corrected a bug in kfstheta.f95 which caused approx.f95 to fail
unexpectedly. Changed convergence criterion to deviance based and added
convtol parameter to multiple functions.