Text this: The diffusion equation with piecewise smooth initial conditions