Fix reference metrics
Fix bugs in frozen metric term computation in reference implementation.
Separate metric terms initialization from state/flux data initialization.
Edited by Timothy Smith
Fix bugs in frozen metric term computation in reference implementation.
Separate metric terms initialization from state/flux data initialization.