add weights keyword argument; let extents be fractions
Merge pull request #19 from kbarbary/weights

add weights keyword argument; let extents be fractions