Fix initial condition, error check, end time in adv_diff demo