Added functionality to calculate pet food amounts