Update PolyCalculator.cpp