New Molecular Descriptors for 2D- and 3D-structures. Theory