Added in mass filling and element flux limiting.
Debugging fixes