added new calculator functions and rates repository