Implement local_std_dev function
Finds the local standard deviation and local z-score for each pixel for a sample set taken from a given radius.