update code of model matrix in each primitive shape class and scale the object and bounding box