Return weight for only positive quantities

Provision for downstream modules to change from_address
Merge pull request #30 from tarunbhardwaj/develop

Return weight for only positive quantities