Added functions that can perform calculations for interest and penalties