Smoothness working

Revised smoothness method working (adjustable in variable declaration)
Merge pull request #1 from Cheddles/Smoother

Smoothness working