Distortions of MX 4 molecules from T d symmetry. I. Kernel, co-kernel and averaged configurations