Added swd recipe to the q module.

The swd recipe is the same as sw, but you give the point
density rather than the total number of points.