Analysis of Internally Shunted Josephson Junctions