fix on iterative calculation of profit maximizing production factors when using capital