tidy up piecewise and plotting docstrings
update dim1sin_af_linear_implementations