Gradient computation WIP
secondaryVector working
Merge branch 'master' into feature_secodaryVector