Fixed SCI-747, rewrote log scale tick generation and added unit tests