Piecewise Linear Morse Theory