smoothest function

Function to compute local polynomial estimation using rule of thumb for bandwidth selection