SO(3) Homology of Graphs and Links