error analysis of the numerical method of lines