Refs #8343 Fixed error and refactored code.

Also modified the interface code to only allow the user to input a valid
min/max value.
Refs #8343 Fix for system test
Refs #8343 Rewritten slice functions to account for monitors.
Merge remote-tracking branch 'origin/bugfix/8343_c2e_diag_tab_spectrum_error'