Piecewise Linear Modeling and Analysis