localmean_weight function

Internal Function: Local Mean Variance Neighbors and Weights