Nonplanar distortion modes for highly substituted porphyrins