Spatial trend surface analysis using second order polynomial