bugfix for gradient U
Merge branch 'master' of github.com:jakobkolb/Master-Thesis