fixed very stupid bug of having two loops that estimate uf, vf. combined those in one loop.