Get McsToRate function working again.

Only lightly tested, but I think it's about right.
1 file changed