Added comments and something to round really small numbers to 0