I think the class would generally benefit from having log statements here and there, to better indicate the internal calculations that take place.