added fix for calculate gradients seg fault, tensor file still doesn't load
Merge branch 'failing_tests' of https://github.com/sfrisby/SCIRunGUIPrototype into failing_tests