simpleInterestCalculate modified