Restricted Normal Cones and the Method of Alternating Projections: Applications