Renamed logrithm function to logrithm