Spin-Orbit Coupling In Graphene And Transition Metal Dichalcogenides