Functions for Kriging and Point Pattern Analysis