Abstracted the error ading logic into `Spectrum.add_absolute_errors`.
Better test_add_errors_scalar test case.