updated params and forward problem to be used when doing backward problem