Added javadoc fot TotalNeedsCalculator and generated documentation