Fixed ratio calculation
Day is now represented as a long, and not an int, on the graph