Investigations of heterogeneous and homogeneous transition metal catalysis using density functional theory.