refactor(units, gridSpacing, gridMargin): change attribute units to pixels Closes #6