Computational studies of paddlewheel complexes in isolation and incorporated into metal organic frameworks