Outlier Detection and Spatial Analysis Algorithms