Fixed math bug causing currency ratios to be calculated incorrectly
Added currency ratio cache