updated PensionCalculator

with salary history method