sending extra params to inverse calculation function (solve)