Added ToQuantity - issue #32
Merge pull request #37 from MehdiK/ToQuantity

Added ToQuantity - fixes issue #32