testing parameter computations (optimization notfunctional yet)