added scaling and transform computation in modelNode class