Merge pull request #19 from marcogarieri/master

Write tables and stock
Merge pull request #20 from marcogarieri/master

Sample not negative values
Merge pull request #21 from marcogarieri/master

Dealing with negative values
Finezze