change rate_query to correctly calculate ARM data
Merge pull request #12 from fna/arms

Correctly calculate ARM data