converted CalculateGradients - needs to be testedgit status! added progressreporter to CalculateGradients