Added negative number support and some docs tweaks.