Comsol Piecewise Function Latex