Added smooth

Added smooth() function to reduce aliasing