Added error plotting.