(FastPiecewise): Add which_function.
(FastPiecewise.which_function): Add tests; two currently fail
(plot_covered_intervals): Handle discontinuous case