cokriging added
refactored trace to get_trace to streamline things