A Generalized Chua Cell for Realizing any Continuous n-Segment Piecewise-Linear Function