three graphs now generating, now need to complete error calculations