Adding Barnes weight functionality!

I am adding the ability to use the Barnes distance-dependent weighting
scheme. Right now the only option is to use a constant smoothing
paramater. Testing to begin shortly...