finalized omic kriging function and file