Added error analysis. Plotting real functions (same color currently).