Add asserts for W>0 and F>0
Merge pull request #11 from gsarkis/asserts

Add asserts for W>0 and F>0