Removes commented-out code in rangemeasure; should be fully working now.