Exploiting Symmetries To Construct Efficient Mcmc Algorithms With An Application To Slam