RButtonGroup1.rawValue gives the value of the raid button. This should help you determine the value selected in each radio button group.
For the total calculation I would use sample code like following....this is JS code in "Calculate" event of the total field.
var tot = 0;
if (RButtonGroup1.rawValue != "") tot = tot+RButtonGroup1.rawValue;
if (RButtonGroup2.rawValue != "") tot = tot+RButtonGroup2.rawValue;
if (RButtonGroup3.rawValue != "") tot = tot+RButtonGroup3.rawValue;
......
......
//finally
this.rawValue = tot; //you will have total assigned to this field
if you still have difficulty please attach a sample in your response.