minor fix
Some synchronization (one important instance in GradEval_base::contract_gradient). Resolves #35