Implemented divergence and gradient operators
Added data structure to the header
Removed some unused variables
Huge lumped commit
Merge branch 'feature/implicit-field'