memory fixes

Vector3D usage improvements in PickingColliderBase, Entity.
Matrix3DUtil import duplication in some classes after previous commit