Updated docs, fixed bug with negative values