Draft implementation of smearing for operators.
Merge branch 'smearing_hex' into smearing_hex_debug