The second-generation Shifted Boundary Method and its numerical analysis