geometry preperation

some preperation for geometry and animation calculations.