Fix off-by-one bug in centroid calculation
Merge branch 'master' into logpots
Add custom logbase to log scale
myriad finishing touches