Add logarithmic scale function
Merge pull request #212 from andrewmichaelsmith/log_func

Add logarithmic scale function