Added passes argument

Passes argument specifies how many subpixels to create for each real
pixel. eg passes=1 outputs the same as sjkelly branch, passes=2 turns
each pixel into a 2x2 grid of pixels with spacing pixelWidth/2, 3 makes
a 3x3 grid with spacing pixelWidth/3, etc