implement logarithmic decay formula