changed offset default to 0
added a target width param to set the physical size of outcome. Need to change xdiv into a tool size