minor error in RF.dist