formatting changes for blog
found error in blendmap smoothing function