Add Measurement Calculation Class

Add file calMeasure and class calMeasure

to calculate proper weight for each update