Fixed warnings.
Simplifying a bit of code and added direct material mode calls for structuralevaluator.
Merge branch 'master' of github.com:Micket/oofem