Put in error grid contour calculation method
added error grid calculation