Modified Normalize function to exclude NA values.  Added raster.kmeans function to classify a raster stack.