rename variables
use toPrecision for rounding
fix postions of x/y scales
fix starting index in grid drawing
update builds
fix doc