Update RateConverter.java

Still unfinished (it lacks the chaining part) but it's better than the previous one..at least now I can get the pairs I need automatically