Update and rename CubicMeasureCalc.py to CBM.py

added DIM weight function