Latex piecewise function amsmath